/**
 * 微信相关字典
 */

/**
 *  小程序环境
 * - develop：开发版
 * - trial：体验版
 * - release：正式版
 */
export const WX_MINI_ENV = {
  DEVELOP: {
    name: "开发版",
    value: "develop",
  },
  TRIAL: {
    name: "体验版",
    value: "trial",
  },
  RELEASE: {
    name: "正式版",
    value: "release",
  },
};

// COS地址
export const COS_BASE_URL = "https://xin-home-1300084016.cos.ap-guangzhou.myqcloud.com";

// 获取COS图片地址
export const getCosImg = (name) => {
  return `${COS_BASE_URL}${name}`;
};
